home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / printf.1 < prev    next >
Encoding:
Text File  |  1994-07-26  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. PRINTF(1L)        Misc. Reference Manual Pages         PRINTF(1L)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      printf - format and print data
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      pppprrrriiiinnnnttttffff format [argument...]
  13.      pppprrrriiiinnnnttttffff {--help,--version}
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This manual  page  documents  the  GNU  version  of  pppprrrriiiinnnnttttffff.
  17.      pppprrrriiiinnnnttttffff prints the _f_o_r_m_a_t string, interpreting `%' directives
  18.      and `\' escapes in the same way as the C `printf'  function.
  19.      The _f_o_r_m_a_t argument is re-used as many times as necessary to
  20.      convert all of the given arguments.
  21.  
  22.      pppprrrriiiinnnnttttffff interprets `\0ooo' as a an octal number (`ooo'  is  0
  23.      to 3 digits) specifying a character to print, and `\xhhh' as
  24.      a hexadecimal number (`hhh' is 1 to 3 digits)  specifying  a
  25.      character  to  print.   It  has  an additional escape, `\c',
  26.      which causes pppprrrriiiinnnnttttffff to produce no  further  output,  and  an
  27.      additional directive, `%b', which prints its argument string
  28.      with `\' escapes interpreted the way they are in the  _f_o_r_m_a_t
  29.      string.
  30.  
  31.   OOOOPPPPTTTTIIIIOOOONNNNSSSS
  32.      When GNU pppprrrriiiinnnnttttffff is invoked with exactly  one  argument,  the
  33.      following options are recognized:
  34.  
  35.      --_h_e_l_p
  36.           Print a usage message on standard output and exit  suc-
  37.           cessfully.
  38.  
  39.      --_v_e_r_s_i_o_n
  40.           Print version information on standard output then  exit
  41.           successfully.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. FSF             Last change: GNU Shell Utilities                1
  64.  
  65.  
  66.  
  67.